package com.itheima.service;

import com.itheima.dao.impl.TeacherDaoImpl;
import com.itheima.domain.Teacher;

import java.util.ArrayList;

public interface TeacherService {
    TeacherDaoImpl teacherDao = new TeacherDaoImpl();
    void addTeacher(Teacher teacher);
    void delectTeacher(int index);
    void updateTeacher(int index, Teacher teacher);
    ArrayList<Teacher> findAllTeacher();
    int findTeacherById(String id);
}
